/**
 * @Title: AdvertisementService
 * @Package cn.com.yiqi.wsc.service.advertisement.impl
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-胥钰淋
 * @date 2017/2/27 11:12
 * @version V1.0
 */
package cn.com.yiqi.wsc.service.advertisement;

import cn.com.yiqi.wsc.common.Result;
import cn.com.yiqi.wsc.dao.advertisement.criteria.AdvertisementCriteria;
import cn.com.yiqi.wsc.dao.advertisement.entity.AdvertisementEntity;
import cn.com.yiqi.wsc.service.advertisement.dataobject.QueryAdvertisementDO;
import com.github.pagehelper.PageInfo;

/**
 *
 *@ClassName: AdvertisementService
 * @Description: TODO
 * @author 会员系统组-胥钰淋
 * @date 2017/2/27 11:12
 *
 */
public interface AdvertisementService {

    /**
     * 查询广告分页数据
     * @param queryAdvertisementDO
     * @return
     */
    PageInfo<AdvertisementEntity> queryList(QueryAdvertisementDO queryAdvertisementDO);

    Result<Boolean> insert(AdvertisementCriteria advertisementEntity);
    Result<Boolean> update(AdvertisementEntity advertisementEntity);
    Result<Boolean> delete(long id);

}
